﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
using System.Web.Configuration;
using System.Data;


public partial class Pregled : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        
        if (!IsPostBack)
            polnimuzei();
    }
    protected void polnimuzei()
    {
        
        WebServiceM.Muzei m = new WebServiceM.Muzei();
        gd_pregled.DataSource = m.VratiMuzei();
        gd_pregled.DataBind(); 
    }
    protected void Button1_Click1(object sender, EventArgs e)
    {
        Response.Redirect("Pocetna.aspx");
    }
    protected void btnIzmeni_Click(object sender, EventArgs e)
    {
        Response.Redirect("Admin.aspx");
    }
}